<div id="products" class="list-products">
	<div class="top-title">
		<div class="title">
			<i class="fa fa-chevron-right"></i><span> SẢN PHẨM</span>
		</div>
	</div>
	<div class="row">
		<?php if(!empty($items)): foreach($items as $item): ?>
		  <div class="col-sm-4 col-xs-12 col-md-3 one-products">
		    <a href="<?php echo $this->createUrl('/product/detail', array('id' => $item->id)) ?>" class="thumbnail fuel-thumb" title="<?php echo $item->p_name ?>">
		      <img src="<?php echo THclass::phpThumb(Yii::app()->baseUrl . $item->images, 130); ?>" alt=""/>
		    </a>
		    <div class="nameprice-product">
		    	<div class="fuel-pname">
			      	<span><?php echo $item->p_name ?></span>
			    </div>
			    <div class="fuel-pprice">
			      	<span><?php echo number_format($item->unit_price, 0, "", ".") ?> VNĐ</span>
			    </div>
		    </div>
		  </div>
	  	<?php endforeach; else: ?>
	  	  <div class="col-md-12 col-xs-12">Đang cập nhật ... </div>
	  	<?php endif;?>
	</div>
</div>
